package com.luo.dt.seata.at.service;


import com.luo.dt.seata.at.model.entity.Order;
import com.luo.dt.common.model.result.RespResult;

/**
 * 业务服务 - 接口类
 *
 * @author luohq
 * @date 2022-12-03
 */
public interface BusinessService {

    /**
     * 创建订单 - AT事务处理
     *
     * @param userId
     * @param commodityCode
     * @param count
     * @return
     */
    RespResult<Order> handleBusinessAt(String userId, String commodityCode, Integer count);
}
